#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.common.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 数据重复异常
 *
 * @author hanhua
 * @since 2024/06/07
 */
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@Accessors(chain = true)
@Data
public class DataDuplicationException extends RuntimeException {
    /**
     * 唯一键
     */
    private String key;

}
